package com.ndp.fb.rdb.model.rulescript;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.ColumnType;
import com.ndp.fb.rdb.annotation.Id;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by sisi.chen on 15-6-25.
 */
@Setter
@Getter
@NoArgsConstructor
public class RuleScript implements Serializable {
    @Id
    private Long id;
    //user_id
    private String userId;
    //rule_name
    private String ruleName;
    //rule_comment
    private String ruleComment;
    //rule_script
    private String ruleScript;
    //rule_engine
    private String ruleEngine;
    //log_level
    private Integer logLevel;
    //data_cycle
    private Integer dataCycle;
    //snap_cycle
    private Integer snapCycle;
    //version
    private String version;
    //is_run
    private Integer isRun;
    @Column(value = "create_time", type = ColumnType.Time)
    private Date createTime;
    @Column("ignore_databuild")
    private String ignoreDataBuild;

}
